<%= form_for(@status) do |f| %>
  <% if @status.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@status.errors.count, "error") %> prohibited this status from being saved:</h2>

      <ul>
      <% @status.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

<div class="row">
  <div class="col-md-1 col-md-offset-1">
    <%= f.label :label %><br>
  </div>
  <div class="col-md-8">
    <%= f.text_field :label, class: "form-control" %>
  </div>
</div>
<br>

  <div class="row">
    <div class="actions">
      <div class="col-md-1 col-md-offset-1">
        <%= f.submit "Save", class: "btn btn-primary" %>
      </div>
      <%= link_to 'Cancel', statuses_path, class: "btn btn-primary" %>
    </div>
  </div>
<% end %>
<br>